<div class="container" style="margin:0 0 0 0;padding:0 0 0 0">
    <div class="row page-header-new" style="margin:0 0 0 0">
        <div class="page-title">
            <h4 >个人项目机会</h4>
        </div>
    </div>
    <div class="body">
        <div class="table-title">
            <div class="col-md-8 col-sm-8" style="margin-left: 15px">
                <input type="text" placeholder=" 搜索" ng-model="searchInfo" style="border-radius: 5px;width: 50%;height: 28px">
            </div>
            <div class="col-md-4 col-sm-4">
                <!--<button class="btn btn-primary btn-xs">新建联系人</button>-->
            </div>
        </div>
        <div class="table-body">
            <table class="datatable table table-hover dataTable">
                <thead>
                <tr>
                    <th>#</th>
                    <th style="width:25%" class="{{orderKey!='name'?'sorting':reverse?'sorting_desc':'sorting_asc'}}" ng-click="orderByKey('name',$event)">名称</th>
                    <th class="{{orderKey!='customName'?'sorting':reverse?'sorting_desc':'sorting_asc'}}" ng-click="orderByKey('customName',$event)">公司</th>
                    <th class="{{orderKey!='name'?'sorting':reverse?'sorting_desc':'sorting_asc'}}" ng-click="orderByKey('name',$event)">代码</th>
                    <th class="{{orderKey!='name'?'sorting':reverse?'sorting_desc':'sorting_asc'}}" ng-click="orderByKey('name',$event)">金额</th>
                    <th class="{{orderKey!='rate'?'sorting':reverse?'sorting_desc':'sorting_asc'}}" ng-click="orderByKey('rate',$event)">胜算</th>
                </tr>
                </thead>
                <tbody ng-repeat="item in items|orderBy:orderList:reverse" ng-dblclick="selectOne(item)" style="border-top: 1px solid #dddddd;">
                <tr>
                    <td>{{$index+1}}</td>
                    <td>{{item.name}}</td>
                    <td>{{item.customName}}</td>
                    <td>代码</td>
                    <td>金额</td>
                    <td>{{item.rate}}%</td>
                </tr>
                </tbody>
            </table>
        </div>
        <div class="row">
            <div class="pull-left" style="margin-top:20px">
                &nbsp;&nbsp;&nbsp;&nbsp;总计机会数目 : {{oppList.length}}
            </div>
            <div class="pull-right"style="margin-right: 20px">
                <nav>
                    <ul class="pagination">
                        <li>
                            <a ng-click="Previous()" role="button">
                                <span role="button">上一页</span>
                            </a>
                        </li>
                        <li ng-repeat="page in pageList" ng-class="{active: isActivePage(page)}" role="button">
                            <a ng-click="selectPage(page)" >{{ page }}</a>
                        </li>
                        <li>
                            <a ng-click="Next()" role="button">
                                <span role="button">下一页</span>
                            </a>
                        </li>
                    </ul>
                </nav>
            </div>
        </div>
    </div>
</div>